<h1>Advanced Movie Search</h1>

<form action="index.php" method="post" id="frm_search">
<table width="100%">
	<tr>
		<td width="20%"><strong>Search Term</strong></td>
		<td><input type="text" name="search" value="{$content.search}" /></td>
	</tr>
	<tr>
		<td><strong>Search Type</strong></td>
		<td>
			<div id="search_types">
			{html_radios name="type" options=$content.types separator="<br />" selected="database"}
			</div>
		</td>
	</tr>
	<tr>
		<td></td>
		<td>
			<fieldset id="st_options">
				<legend>Options</legend>
				<div id="type_database">
				<ul>
				</ul>
				</div>
				<div id="type_collection">
				<ul>
					<li><input type="radio" name="collection_type" value="my" /> My Collection</li>
					<li><input type="radio" name="collection_type" value="other" /> All other Members</li>
					<li>
						<input type="radio" name="collection_type" value="specific" /> Another Specific Members Collection
						<select disabled="disabled" name="collection"></select>
					</li>
				</ul>
				</div>
				<div id="type_wishlist">
				<ul>
					<li><input type="radio" name="wishlist_type" value="my" /> My Wishlist</li>
					<li><input type="radio" name="wishlist_type" value="other" /> All other Members</li>
					<li>
						<input type="radio" name="wishlist_type" value="specific" /> Another Specific Members Wishlist
						<select disabled="disabled" name="wishlist"></select>
					</li>
				</ul>
				</div>
				<!--<div id="type_borrow">
				BORROW
				</div>-->
			</fieldset>
		</td>
	</tr>
	<tr>
		<td><strong>Genre Search</strong></td>
		<td>
			{html_checkboxes options=$content.genres selected=$content.genre}
		</td>
	</tr>
	<tr>
		<td></td>
		<td>
			<div style="border: 1px solid #DDDDDD; background: #EFEFEF; padding: 5px;">Only search movies with the following directors/writers/actors</div>
			<table width="100%">
				<tr>
					<td>
						<strong>Directors</strong><br />
						<select id="directors" multiple="multiple" size="5">
						</select>
						<br />
						<input type="button" value="X" />
					</td>
					<td><strong>Writers</strong></td>
					<td><strong>Actors</strong></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<input type="submit" value="Search &raquo;" />
</form>

<script type="text/javascript">load_search_type_events();</script>